'''
Created on 08/03/2011

@author: Vinicius
'''

import numpy as np
import svm

#Dados para o XOR Problem
x = np.array([[-1, -1], [-1, 1], [1, -1], [1, 1]])
d = np.array([-1, 1, 1, -1])


print svm.execute(x, d)


